using Xunit.Runner.Common;
using Xunit.Sdk;

namespace Xunit.Internal;

/// <summary>
/// INTERNAL CLASS. DO NOT USE.
/// </summary>
public sealed class FilterLogicalNot(ITestCaseFilter innerFilter) :
	ITestCaseFilter
{
	/// <summary/>
	public bool Filter(
		string assemblyName,
		ITestCaseMetadata testCase) =>
			!innerFilter.Filter(assemblyName, testCase);
}
